import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'venueId',
    type: 'select',
    label: translate('venue'),
    // clearable: false,
    labelCode: 'name',
    valueCode: 'id',
    options: []
  },
  {
    filed: 'memberName',
    type: 'input',
    label: translate('name')
  },
  {
    filed: 'time',
    type: 'datetimerange',
    clearable: false,
    label: translate('xzsjd')
  },
  {
    filed: 'cardNumber',
    type: 'input',
    label: translate('cardnum')
  },
  {
    filed: 'phoneNumber',
    type: 'input',
    label: translate('phone')
  },
  {
    filed: 'code',
    type: 'select',
    label: translate('jylx'),
    options: [
      { value: '1', label: translate('kk') },
      { value: '2', label: translate('chouzhi') },
      { value: '3', label: translate('xf') },
      { value: '4', label: translate('tf') },
      { value: '5', label: translate('tx') },
      { value: '6', label: translate('yetz') }]
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
